package com.ruoyi.edu.api.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.annotation.Excel;
import lombok.Data;

import java.util.Date;

/**
 * @author Alex
 * @version 1.0
 * @date 2023/9/19 9:26
 */
@Data
public class EduCommentVO {
    /**
     * 索引
     */
    private String id;

    /**
     * 课程id
     */
    private String courseId;

    @Excel(name = "课程名称")
    private String courseName;

    /**
     * 讲师id
     */
    private String teacherId;

    @Excel(name = "讲师名称")
    private String teacherName;

    /**
     * 会员id
     */
    @Excel(name = "会员id")
    private String memberId;

    /**
     * 会员昵称
     */
    @Excel(name = "会员昵称")
    private String nickname;

    /**
     * 会员头像
     */
    private String avatar;

    /**
     * 评论内容
     */
    @Excel(name = "评论内容")
    private String content;


    /**
     * 创建时间、
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date gmtCreate;

    /**
     * 更新时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date gmtModified;
}
